package com.gec.teams.wechat.mapper;

import com.gec.teams.wechat.pojo.Address;
import com.gec.teams.wechat.pojo.Dto.UserInfoAddressPack;
import com.gec.teams.wechat.pojo.User;
import org.apache.ibatis.annotations.*;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * 功能：
 * 作者：YumTea
 * 日期：2024/6/11 14:38
 */
@Repository
public interface UserMapper {


    List<User> getListByIds(List<Integer> userIds);
    User getUserById(Integer userId);

    void insertUser(User user);

    void updateUser(User user);

    public List<Address> findUserAddressByNameAndDetails(UserInfoAddressPack uap);

    User test(UserInfoAddressPack uap);
}
